package com.kele.model.oplog;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.bson.types.ObjectId;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;

import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Document(collection = "browse_log")
public class BrowseLog {

    @Id
    private ObjectId id;

    private Long userid;
    private String ip;
    private Date browseTime;
    private String brand;
    private String category;
    private Long goodsId;
    private String goodsName;
    private Double price;
    private String remark;

}
